-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure 127.0.0.1 for the --bind-address parameter #1723
Conversation
ea4ec06
to
2d999ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! @ktsakalozos thanks for the contribution!
@mozillazg wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks for your contribution!
@afdesk It seems other benchmarks may have similar issues, do we need to update the checking logic for those benchmarks as well? We can make these changes in another new PR. wdyt? |
@mozillazg I agree with you. let's create a new issue. |
@ktsakalozos could you update the PR with the current main branch? thanks |
adccb29
to
9e3b808
Compare
It should be ok now @afdesk |
@ktsakalozos thanks again! LGTM! merged |
If
--bind-address
of kube-scheduler and kube-controller-manager is not set it defaults to 0.0.0.0 (all interfaces) [1, 2].The respective checks (1.3.7 and 1.4.2) should not accept the default bind-address value and should fail if
--bind-address
is not set.[1] https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/
[2] https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/